﻿using System;
using System.Web;
using NExt.Configuration;
using NExt.Configuration.Builder;
using NExt.Configuration.Model;

namespace Ext.Demo
{
    public class Global : HttpApplication
    {
        protected void Application_Start(object sender, EventArgs e)
        {
            NExtConfiguration nextConfiguration = new NExtConfiguration
                                                      {
                                                          Serializer = Serializer.JsonNet,
                                                          ObjectBuilder = new DefaultObjectBuilder()
                                                      };

            NExtConfigurationLoader.Load(nextConfiguration);
        }
    }
}